<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head></h:head>
<body>

	<h:form>
		<h:inputText value="#{calculator.input}" />
		<p />
		<h:commandButton value="C" style=" width : 59px;" action="#{calculator.resetAll}" />
		
		<h:commandButton value="/" style=" width : 59px;" />

		<h:commandButton value="*" style=" width : 59px;" />

		<h:commandButton value="back" style=" width : 59px;" />

		<p />
		<h:commandButton value="1" style=" width : 59px;" />

		<h:commandButton value="2" style=" width : 59px;" />

		<h:commandButton value="3" style=" width : 59px;" />

		<h:commandButton value="-" style=" width : 59px;" />

		<p />
		<h:commandButton value="4" style=" width : 59px;" />

		<h:commandButton value="5" style=" width : 59px;" />

		<h:commandButton value="6" style=" width : 59px;" />

		<h:commandButton value="+" style=" width : 59px;" action="#{calculator.add}"  />

		<p />
		<h:commandButton value="7" style=" width : 59px;" />

		<h:commandButton value="8" style=" width : 59px;" />

		<h:commandButton value="9" style=" width : 59px;" />

		<h:commandButton value="( )" style=" width : 59px;" />

		<p />
		<h:commandButton value="0" style=" width : 59px;" />

		<h:commandButton value="." style=" width : 59px;" />

		<h:commandButton value="+/-" style=" width : 59px;" />

		<h:commandButton value="=" style=" width : 59px;" action="#{calculator.calculate}" />


	</h:form>

</body>
</html>
